package org.demo.patten.state;

/**
 * @author zhuj
 * @date 2025/3/29
 * @apiNote
 */
public class OrderContext {
    private OrderState currentState;
    public void setState(OrderState state) {
        this.currentState = state;
    }
    public void process() {
        currentState.handle(this);
    }
}
